@if($characters->count() > 0)
	@foreach($characters as $char)
		<tr>
			<td>
				<img src="{{ asset('images/class-icons/icon_emblem_' . strtolower($char->char_class) . '.png') }}"/> 
			</td>
			<td>
				{{ $char->char_type }}
			</td>
			<td>
				{{ $char->char_name }}
			</td>
			<td>
				<a href="#" class="btn btn-primary add-member">
	                <span class="glyphicon glyphicon-edit"></span>
	                Ajouter
	            </a>
			</td>
		</tr>
	@endforeach
@else
	<tr>
		<td>
			{{ $searchstring }}
		</td>
		<td>
			<a href="#" class="btn btn-primary add-member">
	            <span class="glyphicon glyphicon-edit"></span>
	            Ajouter
	        </a>
		</td>
	</tr>
@endif